How to Create Multiply Graph Plotting library in Python